package com.spdzen.service;

import java.util.List;

import com.spdzen.model.SysUserRole;
import com.spdzen.support.SimpleService;

/**
 * 服务类
 */
public interface SysUserRoleService extends SimpleService<SysUserRole> {
	int deleteByUser(Long sysUserId);

	List<SysUserRole> selectByUser(Long sysUserId);

	void bindRoles(Long sysUserId, List<Long> roleIds) throws Exception;
}
